﻿using Microsoft.VisualBasic;
using QuickPasteToolWeb.Model;
using System.Data;
using System.Windows;
using System.Windows.Controls;

namespace QuickPasteToolWeb
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }

        private void ListView_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
        {
            var rowView = (ShowContent)listview.SelectedItem;
            Clipboard.SetText(rowView.Description.ToString());
            MessageBox.Show("数据复制成功");
        }
    }
}